{layout name="passport:layout" /}
<div class="tipbox tipbox-message">
    <span class="fn-f14 fn-fb red">注意：</span>用户绑定应用管理员后禁止修改。
</div>
<form id="form" action="{:url('passport.member/staffAdd')}">
<table class="formtable">
    <tr>
        <th>授权应用ID:</th>
        <td>
            <input readonly="readonly" id="bind_miniapp_id" class="readonly input" type="text" name="bind_miniapp_id" value="" />
            <button data="bind_miniapp_id" type="button" class="bind_miniapp_id button">选择应用</button> 
            <span class="gray">应用绑定后禁止修改</span>
        </td>
    </tr>
    <tr>
        <th>用户名称:</th>
        <td><input datatype="*" class="input" type="text" name="username" value="" /></td>
    </tr>
    <tr>
        <th>手机号:</th>
        <td><input ajaxurl="{:url('passport.member/isphone')}"  datatype="m" class="input" type="text" name="phone_id" value="" /></td>
    </tr>
    <tr>
        <th>登录密码:</th>
        <td><input datatype="*" placeholder="请输入现登录密码" datatype="s6-18" class="input" type="password" name="login_password" /></td>
    </tr>
    <tr>
        <th></th>
        <td>
            <input type="submit" value="确定" class="button button-blue submit" />
            <input type="reset" value="重置" class="button button-blank" />
        </td>
    </tr>
</table>
</form>
</div>
<script type="text/javascript">
Do('base','layer','form','date',function () {
    $('#form').isForm();
    $(".bind_miniapp_id").click(function(){
        $(this).popup('{:url("passport.index/selectMemberMiniapp")}');
    });
});
</script>